<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SMTC Modem API: smtc_modem_api.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SMTC Modem API
   </div>
   <div id="projectbrief">Generic Modem API description</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">smtc_modem_api.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="smtc__modem__api_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#ifndef SMTC_MODEM_API_H__</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#define SMTC_MODEM_API_H__</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment"> * -----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment"> * --- DEPENDENCIES ------------------------------------------------------------</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span>   <span class="comment">// C99 types</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &lt;stdbool.h&gt;</span>  <span class="comment">// bool type</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="comment"> * -----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="comment"> * --- PUBLIC MACROS -----------------------------------------------------------</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment"> * -----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment"> * --- PUBLIC CONSTANTS --------------------------------------------------------</span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ad5683363bec8bb86c2993e18909fe50d">   60</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EUI_LENGTH 8</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a4df00f7e2fcaee5040cd828bf3c03a6c">   65</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_KEY_LENGTH 16</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a6713a6e29cdd3a2abdf94e8b8cc8ef06">   70</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_USER_DATA_LENGTH 8</span></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ad9e1603f5b656f766fb6d914cafdbb54">   75</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_CUSTOM_ADR_DATA_LENGTH 16</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#ga1681310da768c346d46ae2104805a98d">   81</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_RESET 0x00                </span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#ga49257a4e251f98e9541e741fc612191b">   82</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_ALARM 0x01                </span></div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#ga849128c157d6793a3c256a2436a9b22c">   83</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_JOINED 0x02               </span></div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#gab1c64598270d2f217b7f1d5e54ce6885">   84</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_TXDONE 0x03               </span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#ga477de3f4721d288163e32c8ed4409def">   85</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_DOWNDATA 0x04             </span></div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#gacb8121494c5f09c3ca4bf6f52a4f09b7">   86</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_FILEDONE 0x05             </span></div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#ga7af3a19d637d90b4bf916adaa54eff4e">   87</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_SETCONF 0x06              </span></div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#ga1616c6532e60371392e30d4e7e61758f">   88</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_MUTE 0x07                 </span></div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#ga7e4c78e5c929d50e51e86d4a7febbe17">   89</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_STREAMDONE 0x08           </span></div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#gaf6528d555f99a654260aec718991f5ce">   90</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_LINKSTATUS 0x09           </span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#ga994a0593bb70bbdf7d556d34401528c2">   91</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_JOINFAIL 0x0A             </span></div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#ga96bb55bd72c8afa8075e47a7ab12f2d4">   92</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_WIFI 0x0B                 </span></div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#ga2bedcaf2812519a7a7824e3e7291a0a7">   93</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_GNSS 0x0C                 </span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#ga6ed76fc85e0beb904975d2f8852c01bf">   94</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_TIME_UPDATED 0x0D         </span></div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#gadb3745961f8e511f8f802ed5757b119d">   95</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_TIMEOUT_ADR_CHANGED 0x0E  </span></div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#gaa848c33605512940619ddd6bddaddc1e">   96</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_EVENT_NEW_LINK_ADR 0x0F         </span></div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__EVENT__DEF.html#ga965cba0c23d4bdb9c6071f0fa84094a9">   97</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_NO_EVENT 0xFF                   </span></div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#ga5945365aef94fd552bf92d9f17b73cfe">  106</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_STATUS 0x00          </span></div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#ga6557151c4f6757ed72c67559237ee07b">  107</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_CHARGE 0x01          </span></div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#gac6ae84a15cfa28431ac343b739ce97c7">  108</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_VOLTAGE 0x02         </span></div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#ga0d1c9964f1619e988257279c3e4f5d3d">  109</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_TEMPERATURE 0x03     </span></div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#gab66ebbe3611b81b7dc97337dc14da698">  110</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_SIGNAL 0x04          </span></div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#ga888a118ec650cbdeb2b7ca3ac0dc7415">  111</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_UP_TIME 0x05         </span></div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#ga77be687eae45e2496449f182786afc01">  112</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_RX_TIME 0x06         </span></div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#ga489b50827bba45654f13a99be50eb005">  113</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_ADR_MODE 0x08        </span></div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#ga793074e5526aedc039249f24eca92cff">  114</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_JOIN_EUI 0x09        </span></div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#ga2af8cf9e3be1d601387b8de5617d0e78">  115</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_INTERVAL 0x0A        </span></div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#gab4db6c9098cebd26fe81cdf30e49aba7">  116</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_REGION 0x0B          </span></div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#ga89b07dba465836b180dda6b243bb4b72">  117</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_RST_COUNT 0x0F       </span></div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#gaa8471db087df79da96134969d2edf437">  118</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_DEV_EUI 0x10         </span></div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#gabbcf7df7171223b52b57e4ffb6854637">  119</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_SESSION 0x12         </span></div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#ga312ffc7e05c242cb6b5fb133f8661045">  120</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_CHIP_EUI 0x13        </span></div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#ga8406e56fa632b38647c65c42b406475a">  121</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_APP_STATUS 0x16      </span></div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="group__SMTC__MODEM__DM__INFO__DEF.html#gaa1c4c4960be525cce951352d28db1a76">  122</a></span>&#160;<span class="preprocessor">#define SMTC_MODEM_DM_FIELD_ALMANAC_STATUS 0x18  </span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="comment"> * -----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="comment"> * --- PUBLIC TYPES ------------------------------------------------------------</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620">  135</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620">smtc_modem_return_code_e</a></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;{</div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620ab834a5bb2ce6d97c2831fe3d71103c14">  137</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620ab834a5bb2ce6d97c2831fe3d71103c14">RC_OK</a>              = 0x00,  </div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a44722346ed4d9697eafefccbc540765d">  138</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a44722346ed4d9697eafefccbc540765d">RC_UNKNOWN</a>         = 0x01,  </div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620ab160a5d4159a90180d6922bf65931f7b">  139</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620ab160a5d4159a90180d6922bf65931f7b">RC_NOT_IMPLEMENTED</a> = 0x02,  </div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a37c97cd2e742eb38b2d14ea58356181a">  140</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a37c97cd2e742eb38b2d14ea58356181a">RC_NOT_INIT</a>        = 0x03,  </div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a72631ecb3362f3f7c33cfee4251a2b8a">  141</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a72631ecb3362f3f7c33cfee4251a2b8a">RC_INVALID</a>         = 0x04,  </div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a869dd46c2d082bad131e39c2052f213f">  142</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a869dd46c2d082bad131e39c2052f213f">RC_BUSY</a>            = 0x05,  </div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a827565d735c8517ed5079c5a93b513b5">  143</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a827565d735c8517ed5079c5a93b513b5">RC_FAIL</a>            = 0x06,  </div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a4b9a7df2f3e66e38b9a0b27dfce73c0a">  144</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a4b9a7df2f3e66e38b9a0b27dfce73c0a">RC_BAD_FORMAT</a>      = 0x07,  </div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a781b7f097df41705b8d1f4a5932a08bb">  145</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a781b7f097df41705b8d1f4a5932a08bb">RC_BAD_CRC</a>         = 0x08,  </div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a7a62074e4c5d4226fe77d3ca127cce9f">  146</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a7a62074e4c5d4226fe77d3ca127cce9f">RC_BAD_SIGNATURE</a>   = 0x09,  </div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620ab6d30e486bf7faabc78644ed63050e4a">  147</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620ab6d30e486bf7faabc78644ed63050e4a">RC_BAD_SIZE</a>        = 0x0A,  </div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620afac262a9eea4e4288bfce1ac356da883">  148</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620afac262a9eea4e4288bfce1ac356da883">RC_FRAME_ERROR</a>     = 0x0F,  </div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620ae2789f1ef47e6e1a8ec663688463f3bf">  149</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620ae2789f1ef47e6e1a8ec663688463f3bf">RC_NO_TIME</a>         = 0x10,  </div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">  150</a></span>&#160;} <a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a>;</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160; </div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922">  155</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922">smtc_modem_adr_profile_e</a></div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;{</div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922af58f77886527c799627285efc7b87ea6">  157</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922af58f77886527c799627285efc7b87ea6">SMTC_MODEM_ADR_PROFILE_NETWORK_CONTROLLED</a> = 0x00,  </div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922a2e3e3e7961336c7d9887a0c58ad9645d">  158</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922a2e3e3e7961336c7d9887a0c58ad9645d">SMTC_MODEM_ADR_PROFILE_MOBILE_LONG_RANGE</a>  = 0x01,  </div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922a6dcae76dfc1d5055141021c81a0c006b">  159</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922a6dcae76dfc1d5055141021c81a0c006b">SMTC_MODEM_ADR_PROFILE_MOBILE_LOW_POWER</a>   = 0x02,  </div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922aa16fc599d480d3762b2ccf96379d0c3c">  160</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922aa16fc599d480d3762b2ccf96379d0c3c">SMTC_MODEM_ADR_PROFILE_CUSTOM</a>             = 0x03,  </div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a8e939ad0a2583987746c6f52e32cba67">  161</a></span>&#160;} <a class="code" href="smtc__modem__api_8h.html#a8e939ad0a2583987746c6f52e32cba67">smtc_modem_adr_profile_t</a>;</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a7060629b29cc2a3f22e183e8032d563d">  166</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="smtc__modem__api_8h.html#a7060629b29cc2a3f22e183e8032d563d">smtc_modem_status_mask_e</a></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;{</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    SMTC_MODEM_STATUS_BROWNOUT = ( 1 &lt;&lt; 0 ),</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    SMTC_MODEM_STATUS_CRASH    = ( 1 &lt;&lt; 1 ),</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    SMTC_MODEM_STATUS_MUTE     = ( 1 &lt;&lt; 2 ),</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    SMTC_MODEM_STATUS_JOINED   = ( 1 &lt;&lt; 3 ),</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    SMTC_MODEM_STATUS_SUSPEND  = ( 1 &lt;&lt; 4 ),</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    SMTC_MODEM_STATUS_UPLOAD   = ( 1 &lt;&lt; 5 ),</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    SMTC_MODEM_STATUS_JOINING  = ( 1 &lt;&lt; 6 ),</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    SMTC_MODEM_STATUS_STREAM   = ( 1 &lt;&lt; 7 ),</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;};</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160; </div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a9c5f04daad69bdc1d2459ca1db13ee52">  181</a></span>&#160;<span class="keyword">typedef</span> uint32_t <a class="code" href="smtc__modem__api_8h.html#a9c5f04daad69bdc1d2459ca1db13ee52">smtc_modem_status_mask_t</a>;</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160; </div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ab682a2a05b0b667114a96962370b154c">  186</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="smtc__modem__api_8h.html#ab682a2a05b0b667114a96962370b154c">smtc_modem_class_e</a></div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;{</div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ab682a2a05b0b667114a96962370b154ca3e9ed89ca54853930d6b605a7afe9ac5">  188</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#ab682a2a05b0b667114a96962370b154ca3e9ed89ca54853930d6b605a7afe9ac5">SMTC_MODEM_CLASS_A</a> = 0x00,  </div>
<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ab682a2a05b0b667114a96962370b154cae291d7ed6fb8a46a5affb23e4d9723a6">  189</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#ab682a2a05b0b667114a96962370b154cae291d7ed6fb8a46a5affb23e4d9723a6">SMTC_MODEM_CLASS_C</a> = 0x01,  </div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#af365833c8df22cfc0c09be7da28b7026">  190</a></span>&#160;} <a class="code" href="smtc__modem__api_8h.html#af365833c8df22cfc0c09be7da28b7026">smtc_modem_class_t</a>;</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#afe3f0d8569065d33866b8be3e0d96c63">  195</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="smtc__modem__api_8h.html#afe3f0d8569065d33866b8be3e0d96c63">smtc_modem_file_upload_cipher_mode_e</a></div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;{</div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#afe3f0d8569065d33866b8be3e0d96c63a85849b62c52857e860b0017a81b76400">  197</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#afe3f0d8569065d33866b8be3e0d96c63a85849b62c52857e860b0017a81b76400">SMTC_MODEM_FILE_UPLOAD_NO_CIPHER</a>,         </div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#afe3f0d8569065d33866b8be3e0d96c63a00bafc555806c8d1cd2928468a247e9e">  198</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#afe3f0d8569065d33866b8be3e0d96c63a00bafc555806c8d1cd2928468a247e9e">SMTC_MODEM_FILE_UPLOAD_AES_WITH_APPSKEY</a>,  </div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ad4c45fe9506a5c78ac277dd0d356b2c6">  199</a></span>&#160;} <a class="code" href="smtc__modem__api_8h.html#ad4c45fe9506a5c78ac277dd0d356b2c6">smtc_modem_file_upload_cipher_mode_t</a>;</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160; </div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a4a85a18d018df88ec6ff03d56e3c9622">  204</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="smtc__modem__api_8h.html#a4a85a18d018df88ec6ff03d56e3c9622">smtc_modem_stream_cipher_mode_e</a></div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;{</div>
<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a4a85a18d018df88ec6ff03d56e3c9622af03652db409d109457790d25f95c2497">  206</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a4a85a18d018df88ec6ff03d56e3c9622af03652db409d109457790d25f95c2497">SMTC_MODEM_STREAM_NO_CIPHER</a>,         </div>
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a4a85a18d018df88ec6ff03d56e3c9622af65c7eff3ec453d088ebed14894fc032">  207</a></span>&#160;    <a class="code" href="smtc__modem__api_8h.html#a4a85a18d018df88ec6ff03d56e3c9622af65c7eff3ec453d088ebed14894fc032">SMTC_MODEM_STREAM_AES_WITH_APPSKEY</a>,  </div>
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a4bbaabd919974271b85baf6285250c9f">  208</a></span>&#160;} <a class="code" href="smtc__modem__api_8h.html#a4bbaabd919974271b85baf6285250c9f">smtc_modem_stream_cipher_mode_t</a>;</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="structsmtc__modem__version__s.html">  213</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsmtc__modem__version__s.html">smtc_modem_version_s</a></div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;{</div>
<div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="structsmtc__modem__version__s.html#a48ffba2e4117650d65a9deeb73d9678a">  215</a></span>&#160;    uint8_t <a class="code" href="structsmtc__modem__version__s.html#a48ffba2e4117650d65a9deeb73d9678a">major</a>;  </div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="structsmtc__modem__version__s.html#a85e41929d7235bdb5d2382c57c36a627">  216</a></span>&#160;    uint8_t <a class="code" href="structsmtc__modem__version__s.html#a85e41929d7235bdb5d2382c57c36a627">minor</a>;  </div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="structsmtc__modem__version__s.html#abc6b20a010ef7234c5e327070beb5ef0">  217</a></span>&#160;    uint8_t <a class="code" href="structsmtc__modem__version__s.html#abc6b20a010ef7234c5e327070beb5ef0">patch</a>;  </div>
<div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#af3defb0e1dfb1d9026f8330a4ed39557">  218</a></span>&#160;} <a class="code" href="smtc__modem__api_8h.html#af3defb0e1dfb1d9026f8330a4ed39557">smtc_modem_version_t</a>;</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160; </div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a19cbd85803f4d0e095acaa3ce237e829">  223</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="smtc__modem__api_8h.html#a19cbd85803f4d0e095acaa3ce237e829">smtc_modem_dm_info_interval_format_e</a></div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;{</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;    SMTC_MODEM_DM_INFO_INTERVAL_IN_SECOND = 0x00,</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    SMTC_MODEM_DM_INFO_INTERVAL_IN_DAY    = 0x01,</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    SMTC_MODEM_DM_INFO_INTERVAL_IN_HOUR   = 0x02,</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    SMTC_MODEM_DM_INFO_INTERVAL_IN_MINUTE = 0x03,</div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#aa74bbc8e8b31da7f77a9a9940f98d331">  229</a></span>&#160;} <a class="code" href="smtc__modem__api_8h.html#aa74bbc8e8b31da7f77a9a9940f98d331">smtc_modem_dm_info_interval_format_t</a>;</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160; </div>
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a12aca6f18d0c10eb4a202059d4cdf97e">  234</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="smtc__modem__api_8h.html#a12aca6f18d0c10eb4a202059d4cdf97e">smtc_modem_region_e</a></div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;{</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;    SMTC_MODEM_REGION_EU_868        = 1,</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    SMTC_MODEM_REGION_AS_923        = 2,</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    SMTC_MODEM_REGION_US_915        = 3,</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    SMTC_MODEM_REGION_AU_915        = 4,</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    SMTC_MODEM_REGION_CN_470        = 5,</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    SMTC_MODEM_REGION_WW2G4         = 6,</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    SMTC_MODEM_REGION_AS_923_GRP2   = 7,</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    SMTC_MODEM_REGION_AS_923_GRP3   = 8,</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    SMTC_MODEM_REGION_IN_865        = 9,</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    SMTC_MODEM_REGION_KR_920        = 10,</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    SMTC_MODEM_REGION_RU_864        = 11,</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    SMTC_MODEM_REGION_CN_470_RP_1_0 = 12,</div>
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#af86dcb15a5363575e5eeb3db1f14d6ff">  248</a></span>&#160;} <a class="code" href="smtc__modem__api_8h.html#af86dcb15a5363575e5eeb3db1f14d6ff">smtc_modem_region_t</a>;</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160; </div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="comment"> * -----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="comment"> * --- PUBLIC FUNCTIONS PROTOTYPES ---------------------------------------------</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160; </div>
<div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#aadbf482aa0249acd4c18dda44c613d80">  270</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#aadbf482aa0249acd4c18dda44c613d80">smtc_modem_get_event</a>( uint8_t* type, uint8_t* count, uint8_t* stack_id, uint8_t* data,</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;                                               uint16_t* data_length, uint8_t* pending_count );</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160; </div>
<div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a734a1750ff3baba2327970b1e36cf606">  281</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a734a1750ff3baba2327970b1e36cf606">smtc_modem_get_version</a>( <a class="code" href="structsmtc__modem__version__s.html">smtc_modem_version_t</a>* firmware_version,</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;                                                 <a class="code" href="structsmtc__modem__version__s.html">smtc_modem_version_t</a>* lorawan_version );</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160; </div>
<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ad7dba162eca443d021c3b247f48c16ee">  291</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ad7dba162eca443d021c3b247f48c16ee">smtc_modem_reset</a>( <span class="keywordtype">void</span> );</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160; </div>
<div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#af6794d6981ceaa480a50986f2e143a6d">  300</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#af6794d6981ceaa480a50986f2e143a6d">smtc_modem_factory_reset</a>( <span class="keywordtype">void</span> );</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160; </div>
<div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a6559056c141dde5dc8bc7fc7be233533">  309</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a6559056c141dde5dc8bc7fc7be233533">smtc_modem_get_charge</a>( uint32_t* charge_mah );</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160; </div>
<div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a927f65d89842bb0f37ae9b89ff115ef0">  316</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a927f65d89842bb0f37ae9b89ff115ef0">smtc_modem_reset_charge</a>( <span class="keywordtype">void</span> );</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160; </div>
<div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a032c85549cff5a84f9877d7e8feea96e">  326</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a032c85549cff5a84f9877d7e8feea96e">smtc_modem_get_tx_power_offset_db</a>( uint8_t stack_id, int8_t* tx_pwr_offset_db );</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160; </div>
<div class="line"><a name="l00336"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#aeba63e8f8885e25aaef349f5e3a3d243">  336</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#aeba63e8f8885e25aaef349f5e3a3d243">smtc_modem_set_tx_power_offset_db</a>( uint8_t stack_id, int8_t tx_pwr_offset_db );</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160; </div>
<div class="line"><a name="l00346"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a7483685ece7e9d353d152921c091b7a9">  346</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a7483685ece7e9d353d152921c091b7a9">smtc_modem_get_rx_power_offset_db</a>( uint8_t stack_id, int16_t* rx_offset_db );</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160; </div>
<div class="line"><a name="l00356"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#aaf1c41c973502266d8fbd0eecfcb679f">  356</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#aaf1c41c973502266d8fbd0eecfcb679f">smtc_modem_set_rx_power_offset_db</a>( uint8_t stack_id, int16_t rx_offset_db );</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160; </div>
<div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a2b00f9d2df223e5f9336d2266160883c">  365</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a2b00f9d2df223e5f9336d2266160883c">smtc_modem_set_alcsync_mode</a>( uint8_t mode );</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160; </div>
<div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#aef01f7d4b56feb08d988ebfef617c649">  374</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#aef01f7d4b56feb08d988ebfef617c649">smtc_modem_get_alcsync_mode</a>( uint8_t* mode );</div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160; </div>
<div class="line"><a name="l00387"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ac6bb8d02b4515ca4de0260f7c56d551e">  387</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ac6bb8d02b4515ca4de0260f7c56d551e">smtc_modem_get_time</a>( uint32_t* gps_time_s );</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160; </div>
<div class="line"><a name="l00399"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ae94eff2ff8ab76839fba983df6c35041">  399</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ae94eff2ff8ab76839fba983df6c35041">smtc_modem_set_alc_sync_fport</a>( uint8_t alc_sync_fport );</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160; </div>
<div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ac6f517cb949e3a7b2dc6e52ae3730db2">  408</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ac6f517cb949e3a7b2dc6e52ae3730db2">smtc_modem_get_alc_sync_fport</a>( uint8_t* alc_sync_fport );</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160; </div>
<div class="line"><a name="l00418"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a411d9699a80d7559d5dd41a52ff1a777">  418</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a411d9699a80d7559d5dd41a52ff1a777">smtc_modem_get_status</a>( uint8_t stack_id, <a class="code" href="smtc__modem__api_8h.html#a9c5f04daad69bdc1d2459ca1db13ee52">smtc_modem_status_mask_t</a>* status_mask );</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160; </div>
<div class="line"><a name="l00429"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#aa19bd57ec5f517d8b190eaf2053a6c55">  429</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#aa19bd57ec5f517d8b190eaf2053a6c55">smtc_modem_start_alarm_timer</a>( uint32_t alarm_timer_in_s );</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160; </div>
<div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ad820d2f52fa064f19b215ad7052ce3e4">  438</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ad820d2f52fa064f19b215ad7052ce3e4">smtc_modem_clear_alarm_timer</a>( <span class="keywordtype">void</span> );</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160; </div>
<div class="line"><a name="l00449"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ab18b378ebeede432ad3e10f349278a41">  449</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ab18b378ebeede432ad3e10f349278a41">smtc_modem_get_alarm_remaining_time</a>( uint32_t* remaining_time_in_s );</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160; </div>
<div class="line"><a name="l00459"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a0b013a63da0912f59fa84097318dbce8">  459</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a0b013a63da0912f59fa84097318dbce8">smtc_modem_get_joineui</a>( uint8_t stack_id, uint8_t joineui[<a class="code" href="smtc__modem__api_8h.html#ad5683363bec8bb86c2993e18909fe50d">SMTC_MODEM_EUI_LENGTH</a>] );</div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160; </div>
<div class="line"><a name="l00469"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a635b5042ee577962c6c2cf4e0f34c351">  469</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a635b5042ee577962c6c2cf4e0f34c351">smtc_modem_set_joineui</a>( uint8_t stack_id, <span class="keyword">const</span> uint8_t joineui[<a class="code" href="smtc__modem__api_8h.html#ad5683363bec8bb86c2993e18909fe50d">SMTC_MODEM_EUI_LENGTH</a>] );</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160; </div>
<div class="line"><a name="l00479"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ac35b956e1e6d026a6dbdf16ab7fc2222">  479</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ac35b956e1e6d026a6dbdf16ab7fc2222">smtc_modem_get_deveui</a>( uint8_t stack_id, uint8_t deveui[<a class="code" href="smtc__modem__api_8h.html#ad5683363bec8bb86c2993e18909fe50d">SMTC_MODEM_EUI_LENGTH</a>] );</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160; </div>
<div class="line"><a name="l00489"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ad2eeb2277a0542fa9851834f90924711">  489</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ad2eeb2277a0542fa9851834f90924711">smtc_modem_set_deveui</a>( uint8_t stack_id, <span class="keyword">const</span> uint8_t deveui[<a class="code" href="smtc__modem__api_8h.html#ad5683363bec8bb86c2993e18909fe50d">SMTC_MODEM_EUI_LENGTH</a>] );</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160; </div>
<div class="line"><a name="l00499"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a00e9f3e76d73988e81856a2840a91083">  499</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a00e9f3e76d73988e81856a2840a91083">smtc_modem_set_nwkkey</a>( uint8_t stack_id, <span class="keyword">const</span> uint8_t nwkkey[<a class="code" href="smtc__modem__api_8h.html#a4df00f7e2fcaee5040cd828bf3c03a6c">SMTC_MODEM_KEY_LENGTH</a>] );</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160; </div>
<div class="line"><a name="l00509"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#aa7a4218f00a5f9d1ae32f5d42fe311b3">  509</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#aa7a4218f00a5f9d1ae32f5d42fe311b3">smtc_modem_get_class</a>( uint8_t stack_id, <a class="code" href="smtc__modem__api_8h.html#af365833c8df22cfc0c09be7da28b7026">smtc_modem_class_t</a>* lorawan_class );</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160; </div>
<div class="line"><a name="l00519"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a5e3f461177c5cc9c89fef9e9a052c5e9">  519</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a5e3f461177c5cc9c89fef9e9a052c5e9">smtc_modem_set_class</a>( uint8_t stack_id, <a class="code" href="smtc__modem__api_8h.html#af365833c8df22cfc0c09be7da28b7026">smtc_modem_class_t</a> lorawan_class );</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160; </div>
<div class="line"><a name="l00529"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ad2230f2b6007f89d7b3527961278c2b5">  529</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ad2230f2b6007f89d7b3527961278c2b5">smtc_modem_get_region</a>( uint8_t stack_id, <a class="code" href="smtc__modem__api_8h.html#af86dcb15a5363575e5eeb3db1f14d6ff">smtc_modem_region_t</a>* region );</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160; </div>
<div class="line"><a name="l00539"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a22722cc73fed77fdafa2a187f54c34d7">  539</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a22722cc73fed77fdafa2a187f54c34d7">smtc_modem_set_region</a>( uint8_t stack_id, <a class="code" href="smtc__modem__api_8h.html#af86dcb15a5363575e5eeb3db1f14d6ff">smtc_modem_region_t</a> region );</div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160; </div>
<div class="line"><a name="l00549"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ac028ab1b3c44f7f1f1771b65d588925d">  549</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ac028ab1b3c44f7f1f1771b65d588925d">smtc_modem_get_adr_profile</a>( uint8_t stack_id, <a class="code" href="smtc__modem__api_8h.html#a8e939ad0a2583987746c6f52e32cba67">smtc_modem_adr_profile_t</a>* adr_profile );</div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160; </div>
<div class="line"><a name="l00562"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a0ce81d645723b66c0197f11d9a281103">  562</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a0ce81d645723b66c0197f11d9a281103">smtc_modem_set_adr_profile</a>( uint8_t stack_id, <a class="code" href="smtc__modem__api_8h.html#a8e939ad0a2583987746c6f52e32cba67">smtc_modem_adr_profile_t</a> adr_profile,</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;                                                     <span class="keyword">const</span> uint8_t adr_custom_data[<a class="code" href="smtc__modem__api_8h.html#ad9e1603f5b656f766fb6d914cafdbb54">SMTC_MODEM_CUSTOM_ADR_DATA_LENGTH</a>] );</div>
<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160; </div>
<div class="line"><a name="l00573"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a41781c09d149ed18b7fce11b10df6f9a">  573</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a41781c09d149ed18b7fce11b10df6f9a">smtc_modem_get_adr_custom_data</a>( uint8_t stack_id,</div>
<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;                                                         uint8_t adr_custom_data[<a class="code" href="smtc__modem__api_8h.html#ad9e1603f5b656f766fb6d914cafdbb54">SMTC_MODEM_CUSTOM_ADR_DATA_LENGTH</a>] );</div>
<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160; </div>
<div class="line"><a name="l00584"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a8a9450d1839ca12f62903f4add65b00d">  584</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a8a9450d1839ca12f62903f4add65b00d">smtc_modem_get_available_datarates</a>( uint8_t stack_id, uint16_t* available_datarates_mask );</div>
<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160; </div>
<div class="line"><a name="l00593"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a94ea53f8b12a2072febba13ac6e78d70">  593</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a94ea53f8b12a2072febba13ac6e78d70">smtc_modem_get_dm_fport</a>( uint8_t* dm_fport );</div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160; </div>
<div class="line"><a name="l00602"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a101db5bda8332b5651c48d7f0abfb8d5">  602</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a101db5bda8332b5651c48d7f0abfb8d5">smtc_modem_set_dm_fport</a>( uint8_t dm_fport );</div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160; </div>
<div class="line"><a name="l00612"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a00524059c55298c735ea5c1211d504b6">  612</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a00524059c55298c735ea5c1211d504b6">smtc_modem_get_dm_info_interval</a>( <a class="code" href="smtc__modem__api_8h.html#aa74bbc8e8b31da7f77a9a9940f98d331">smtc_modem_dm_info_interval_format_t</a>* format,</div>
<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;                                                          uint8_t*                              interval );</div>
<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160; </div>
<div class="line"><a name="l00625"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ad6b69d8f2b1efd81aec3e896bea39637">  625</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ad6b69d8f2b1efd81aec3e896bea39637">smtc_modem_set_dm_info_interval</a>( <a class="code" href="smtc__modem__api_8h.html#aa74bbc8e8b31da7f77a9a9940f98d331">smtc_modem_dm_info_interval_format_t</a> format,</div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;                                                          uint8_t                              interval );</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160; </div>
<div class="line"><a name="l00636"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a5e26803a030e0a1ace484fecd8b107f6">  636</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a5e26803a030e0a1ace484fecd8b107f6">smtc_modem_get_dm_info_fields</a>( uint8_t* dm_fields_payload, uint8_t* dm_field_length );</div>
<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160; </div>
<div class="line"><a name="l00648"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ab4837763ecc339a0a6a836040b6463a8">  648</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ab4837763ecc339a0a6a836040b6463a8">smtc_modem_set_dm_info_fields</a>( <span class="keyword">const</span> uint8_t* dm_fields_payload, uint8_t dm_field_length );</div>
<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160; </div>
<div class="line"><a name="l00660"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a499ee784cdf5f63b1b8588db0123200d">  660</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a499ee784cdf5f63b1b8588db0123200d">smtc_modem_request_single_dm_uplink</a>( <span class="keyword">const</span> uint8_t* dm_fields_payload,</div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;                                                              uint8_t        dm_field_length );</div>
<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160; </div>
<div class="line"><a name="l00673"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a6ccd60fd244e31e959362c558a6c714f">  673</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a6ccd60fd244e31e959362c558a6c714f">smtc_modem_set_dm_user_data</a>( <span class="keyword">const</span> uint8_t user_data[<a class="code" href="smtc__modem__api_8h.html#a6713a6e29cdd3a2abdf94e8b8cc8ef06">SMTC_MODEM_DM_USER_DATA_LENGTH</a>] );</div>
<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160; </div>
<div class="line"><a name="l00682"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ac0f9d794f44c4867f7d80f9949d2d971">  682</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ac0f9d794f44c4867f7d80f9949d2d971">smtc_modem_get_dm_user_data</a>( uint8_t user_data[<a class="code" href="smtc__modem__api_8h.html#a6713a6e29cdd3a2abdf94e8b8cc8ef06">SMTC_MODEM_DM_USER_DATA_LENGTH</a>] );</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160; </div>
<div class="line"><a name="l00691"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ae312e096d0cbf962c57544ffe35cd127">  691</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ae312e096d0cbf962c57544ffe35cd127">smtc_modem_join_network</a>( uint8_t stack_id );</div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160; </div>
<div class="line"><a name="l00700"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a501d4b5a0002254e1cd56d3131427d73">  700</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a501d4b5a0002254e1cd56d3131427d73">smtc_modem_leave_network</a>( uint8_t stack_id );</div>
<div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160; </div>
<div class="line"><a name="l00709"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a64f3a9b7a5579a63379eb4fb8b6864b8">  709</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a64f3a9b7a5579a63379eb4fb8b6864b8">smtc_modem_suspend_radio_communications</a>( <span class="keywordtype">bool</span> suspend );</div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160; </div>
<div class="line"><a name="l00721"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a88035c360d5f9e46efa090db776d4d38">  721</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a88035c360d5f9e46efa090db776d4d38">smtc_modem_get_next_tx_max_payload</a>( uint8_t stack_id, uint8_t* tx_max_payload_size );</div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160; </div>
<div class="line"><a name="l00736"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a1998c842809ba8370cbfe012b04b2e83">  736</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a1998c842809ba8370cbfe012b04b2e83">smtc_modem_request_uplink</a>( uint8_t stack_id, uint8_t fport, <span class="keywordtype">bool</span> confirmed,</div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;                                                    <span class="keyword">const</span> uint8_t* payload, uint8_t payload_length );</div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160; </div>
<div class="line"><a name="l00753"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a5129aa2d59ddaa67cfa99a0516efbf35">  753</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a5129aa2d59ddaa67cfa99a0516efbf35">smtc_modem_request_emergency_uplink</a>( uint8_t stack_id, uint8_t fport, <span class="keywordtype">bool</span> confirmed,</div>
<div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;                                                              <span class="keyword">const</span> uint8_t* payload, uint8_t payload_length );</div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160; </div>
<div class="line"><a name="l00769"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ac67ad518b00e5c47aaf7cb32f074b1ce">  769</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ac67ad518b00e5c47aaf7cb32f074b1ce">smtc_modem_file_upload_init</a>( uint8_t stack_id, uint8_t index,</div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;                                                      <a class="code" href="smtc__modem__api_8h.html#ad4c45fe9506a5c78ac277dd0d356b2c6">smtc_modem_file_upload_cipher_mode_t</a> cipher_mode,</div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;                                                      <span class="keyword">const</span> uint8_t* file, uint16_t file_length,</div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;                                                      uint32_t average_delay_s );</div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160; </div>
<div class="line"><a name="l00781"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a89c9c4f675c3da81c8751ea663eefde6">  781</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a89c9c4f675c3da81c8751ea663eefde6">smtc_modem_file_upload_start</a>( uint8_t stack_id );</div>
<div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160; </div>
<div class="line"><a name="l00792"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a66dbddaf556a740b490e5db93c6a7494">  792</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a66dbddaf556a740b490e5db93c6a7494">smtc_modem_file_upload_reset</a>( uint8_t stack_id );</div>
<div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160; </div>
<div class="line"><a name="l00803"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a7fecd2b206437cdc9d105750541a078d">  803</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a7fecd2b206437cdc9d105750541a078d">smtc_modem_stream_init</a>( uint8_t stack_id, uint8_t fport,</div>
<div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160;                                                 <a class="code" href="smtc__modem__api_8h.html#a4bbaabd919974271b85baf6285250c9f">smtc_modem_stream_cipher_mode_t</a> cipher_mode );</div>
<div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160; </div>
<div class="line"><a name="l00818"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a62ee39bc0e8d159eaa2d87dd4e676d16">  818</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a62ee39bc0e8d159eaa2d87dd4e676d16">smtc_modem_stream_add_data</a>( uint8_t stack_id, uint8_t fport, <span class="keyword">const</span> uint8_t* data,</div>
<div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;                                                     uint8_t len );</div>
<div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160; </div>
<div class="line"><a name="l00831"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a7f5e369b410828fbea0c847bdb8ab7ef">  831</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a7f5e369b410828fbea0c847bdb8ab7ef">smtc_modem_stream_status</a>( uint8_t stack_id, uint8_t fport, uint16_t* pending, uint16_t* free );</div>
<div class="line"><a name="l00832"></a><span class="lineno">  832</span>&#160; </div>
<div class="line"><a name="l00841"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a56d7e1f5f1178150b28f455076bc79ab">  841</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a56d7e1f5f1178150b28f455076bc79ab">smtc_modem_set_certification_mode</a>( uint8_t stack_id, <span class="keywordtype">bool</span> enable );</div>
<div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160; </div>
<div class="line"><a name="l00851"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a4909027c82b7fed6821866093e84f38a">  851</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a4909027c82b7fed6821866093e84f38a">smtc_modem_get_certification_mode</a>( uint8_t stack_id, <span class="keywordtype">bool</span>* enable );</div>
<div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160; </div>
<div class="line"><a name="l00866"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a3637bd9db8914d00f066f867e50212da">  866</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a3637bd9db8914d00f066f867e50212da">smtc_modem_set_connection_timeout_thresholds</a>( uint8_t  stack_id,</div>
<div class="line"><a name="l00867"></a><span class="lineno">  867</span>&#160;                                                                       uint16_t nb_of_uplinks_before_network_controlled,</div>
<div class="line"><a name="l00868"></a><span class="lineno">  868</span>&#160;                                                                       uint16_t nb_of_uplinks_before_reset );</div>
<div class="line"><a name="l00869"></a><span class="lineno">  869</span>&#160; </div>
<div class="line"><a name="l00880"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ac884f1635d75951015ae2ede72b3575e">  880</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ac884f1635d75951015ae2ede72b3575e">smtc_modem_get_connection_timeout_thresholds</a>(</div>
<div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160;    uint8_t stack_id, uint16_t* nb_of_uplinks_before_network_controlled, uint16_t* nb_of_uplinks_before_reset );</div>
<div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160; </div>
<div class="line"><a name="l00893"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#acb864a58ed305558e2e4a92e76d38ca3">  893</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#acb864a58ed305558e2e4a92e76d38ca3">smtc_modem_get_current_connection_timeout</a>( uint8_t   stack_id,</div>
<div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;                                                                    uint16_t* nb_of_uplinks_before_network_controlled,</div>
<div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;                                                                    uint16_t* nb_of_uplinks_before_reset );</div>
<div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160; </div>
<div class="line"><a name="l00907"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#abdc5cb14954646069fa1cfaffbd84b3a">  907</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#abdc5cb14954646069fa1cfaffbd84b3a">smtc_modem_get_duty_cycle_status</a>( int32_t* duty_cycle_status_ms );</div>
<div class="line"><a name="l00908"></a><span class="lineno">  908</span>&#160; </div>
<div class="line"><a name="l00917"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a89e6a844fdcb49540504d41d8c803c5c">  917</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a89e6a844fdcb49540504d41d8c803c5c">smtc_modem_suspend_radio_access</a>( <span class="keywordtype">void</span> );</div>
<div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160; </div>
<div class="line"><a name="l00927"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a97ff2f38ad3823d15ffb58fdc7b333fa">  927</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a97ff2f38ad3823d15ffb58fdc7b333fa">smtc_modem_resume_radio_access</a>( <span class="keywordtype">void</span> );</div>
<div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160; </div>
<div class="line"><a name="l00937"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a912c0d5c39113b5ac880e460ed178bfb">  937</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a912c0d5c39113b5ac880e460ed178bfb">smtc_modem_set_network_type</a>( uint8_t stack_id, <span class="keywordtype">bool</span> network_type );</div>
<div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160; </div>
<div class="line"><a name="l00947"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#afe142674f451f61af35dc98835b4cd2a">  947</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#afe142674f451f61af35dc98835b4cd2a">smtc_modem_get_network_type</a>( uint8_t stack_id, <span class="keywordtype">bool</span>* network_type );</div>
<div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160; </div>
<div class="line"><a name="l00959"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#aac6c96fdd3ba1a05abb87ca494385b34">  959</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#aac6c96fdd3ba1a05abb87ca494385b34">smtc_modem_set_lbt_configuration</a>( uint8_t stack_id, uint32_t listen_duration_ms,</div>
<div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;                                                           int16_t threshold_dbm, uint32_t bw_hz );</div>
<div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160; </div>
<div class="line"><a name="l00972"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ad489102221c73eeb30980d20f6d48dc8">  972</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ad489102221c73eeb30980d20f6d48dc8">smtc_modem_get_lbt_configuration</a>( uint8_t stack_id, uint32_t* listen_duration_ms,</div>
<div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;                                                           int16_t* threshold_dbm, uint32_t* bw_hz );</div>
<div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160; </div>
<div class="line"><a name="l00983"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#abe170e1b36143016e60c8c5c834628ed">  983</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#abe170e1b36143016e60c8c5c834628ed">smtc_modem_start_lbt</a>( uint8_t stack_id );</div>
<div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160; </div>
<div class="line"><a name="l00992"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a45eb99ffebded3d7ba24fb6a69aa38d2">  992</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a45eb99ffebded3d7ba24fb6a69aa38d2">smtc_modem_stop_lbt</a>( uint8_t stack_id );</div>
<div class="line"><a name="l00993"></a><span class="lineno">  993</span>&#160; </div>
<div class="line"><a name="l01002"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#afdd446b317f4bc7252f5405fc519814d"> 1002</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#afdd446b317f4bc7252f5405fc519814d">smtc_modem_set_nb_trans</a>( uint8_t stack_id, uint8_t nb_trans );</div>
<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160; </div>
<div class="line"><a name="l01012"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#adeaed75cc1008fe4ebc2f437ced3b674"> 1012</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#adeaed75cc1008fe4ebc2f437ced3b674">smtc_modem_get_nb_trans</a>( uint8_t stack_id, uint8_t* nb_trans );</div>
<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160; </div>
<div class="line"><a name="l01022"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#ab83c360c17167c774c9c4f24d245b191"> 1022</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#ab83c360c17167c774c9c4f24d245b191">smtc_modem_get_stream_rr</a>( uint8_t stack_id, uint8_t* stream_rr );</div>
<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160; </div>
<div class="line"><a name="l01032"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a43db9685011f1893130e62576b938c3d"> 1032</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a43db9685011f1893130e62576b938c3d">smtc_modem_set_stream_redundancy_ratio</a>( uint8_t stack_id, uint8_t redundancy_ratio_percent );</div>
<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>&#160; </div>
<div class="line"><a name="l01041"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#a0f4f23007d565fd4c4214aacc2c09b12"> 1041</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#a0f4f23007d565fd4c4214aacc2c09b12">smtc_modem_set_crystal_error</a>( uint32_t crystal_error_ppm );</div>
<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>&#160; </div>
<div class="line"><a name="l01050"></a><span class="lineno"><a class="line" href="smtc__modem__api_8h.html#aeae0359f49d45873111e0de13caec3d6"> 1050</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__api_8h.html#aeae0359f49d45873111e0de13caec3d6">smtc_modem_get_crystal_error</a>( uint32_t* crystal_error_ppm );</div>
<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>&#160; </div>
<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;}</div>
<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160; </div>
<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160;<span class="preprocessor">#endif  </span><span class="comment">// SMTC_MODEM_API_H__</span></div>
<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>&#160; </div>
<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>&#160;<span class="comment">/* --- EOF ------------------------------------------------------------------ */</span></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a00524059c55298c735ea5c1211d504b6"><div class="ttname"><a href="smtc__modem__api_8h.html#a00524059c55298c735ea5c1211d504b6">smtc_modem_get_dm_info_interval</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_dm_info_interval(smtc_modem_dm_info_interval_format_t *format, uint8_t *interval)</div><div class="ttdoc">Get the interval between 2 DM info field messages.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a00e9f3e76d73988e81856a2840a91083"><div class="ttname"><a href="smtc__modem__api_8h.html#a00e9f3e76d73988e81856a2840a91083">smtc_modem_set_nwkkey</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_nwkkey(uint8_t stack_id, const uint8_t nwkkey[SMTC_MODEM_KEY_LENGTH])</div><div class="ttdoc">Set the Network Key (aka Application Key in LoRaWAN v1.0.x)</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a032c85549cff5a84f9877d7e8feea96e"><div class="ttname"><a href="smtc__modem__api_8h.html#a032c85549cff5a84f9877d7e8feea96e">smtc_modem_get_tx_power_offset_db</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_tx_power_offset_db(uint8_t stack_id, int8_t *tx_pwr_offset_db)</div><div class="ttdoc">Get the Tx power offset in dB.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a0b013a63da0912f59fa84097318dbce8"><div class="ttname"><a href="smtc__modem__api_8h.html#a0b013a63da0912f59fa84097318dbce8">smtc_modem_get_joineui</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_joineui(uint8_t stack_id, uint8_t joineui[SMTC_MODEM_EUI_LENGTH])</div><div class="ttdoc">Get the JoinEUI.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a0ce81d645723b66c0197f11d9a281103"><div class="ttname"><a href="smtc__modem__api_8h.html#a0ce81d645723b66c0197f11d9a281103">smtc_modem_set_adr_profile</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_adr_profile(uint8_t stack_id, smtc_modem_adr_profile_t adr_profile, const uint8_t adr_custom_data[SMTC_MODEM_CUSTOM_ADR_DATA_LENGTH])</div><div class="ttdoc">Set the ADR profile.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a0f4f23007d565fd4c4214aacc2c09b12"><div class="ttname"><a href="smtc__modem__api_8h.html#a0f4f23007d565fd4c4214aacc2c09b12">smtc_modem_set_crystal_error</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_crystal_error(uint32_t crystal_error_ppm)</div><div class="ttdoc">Set modem crystal error.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a101db5bda8332b5651c48d7f0abfb8d5"><div class="ttname"><a href="smtc__modem__api_8h.html#a101db5bda8332b5651c48d7f0abfb8d5">smtc_modem_set_dm_fport</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_dm_fport(uint8_t dm_fport)</div><div class="ttdoc">Set the Device Management LoRaWAN FPort.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a12aca6f18d0c10eb4a202059d4cdf97e"><div class="ttname"><a href="smtc__modem__api_8h.html#a12aca6f18d0c10eb4a202059d4cdf97e">smtc_modem_region_e</a></div><div class="ttdeci">smtc_modem_region_e</div><div class="ttdoc">Modem region ID.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:235</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a1998c842809ba8370cbfe012b04b2e83"><div class="ttname"><a href="smtc__modem__api_8h.html#a1998c842809ba8370cbfe012b04b2e83">smtc_modem_request_uplink</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_request_uplink(uint8_t stack_id, uint8_t fport, bool confirmed, const uint8_t *payload, uint8_t payload_length)</div><div class="ttdoc">Request a LoRaWAN uplink.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a19cbd85803f4d0e095acaa3ce237e829"><div class="ttname"><a href="smtc__modem__api_8h.html#a19cbd85803f4d0e095acaa3ce237e829">smtc_modem_dm_info_interval_format_e</a></div><div class="ttdeci">smtc_modem_dm_info_interval_format_e</div><div class="ttdoc">DM uplink reporting internal format.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:224</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a22722cc73fed77fdafa2a187f54c34d7"><div class="ttname"><a href="smtc__modem__api_8h.html#a22722cc73fed77fdafa2a187f54c34d7">smtc_modem_set_region</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_region(uint8_t stack_id, smtc_modem_region_t region)</div><div class="ttdoc">Set the LoRaWAN region.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a28665f12d1a9220810ec9f87a5cf1620"><div class="ttname"><a href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620">smtc_modem_return_code_e</a></div><div class="ttdeci">smtc_modem_return_code_e</div><div class="ttdoc">Modem Return Codes.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:136</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a28665f12d1a9220810ec9f87a5cf1620a37c97cd2e742eb38b2d14ea58356181a"><div class="ttname"><a href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a37c97cd2e742eb38b2d14ea58356181a">RC_NOT_INIT</a></div><div class="ttdeci">@ RC_NOT_INIT</div><div class="ttdoc">command not initialized</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:140</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a28665f12d1a9220810ec9f87a5cf1620a44722346ed4d9697eafefccbc540765d"><div class="ttname"><a href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a44722346ed4d9697eafefccbc540765d">RC_UNKNOWN</a></div><div class="ttdeci">@ RC_UNKNOWN</div><div class="ttdoc">command code unknown</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:138</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a28665f12d1a9220810ec9f87a5cf1620a4b9a7df2f3e66e38b9a0b27dfce73c0a"><div class="ttname"><a href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a4b9a7df2f3e66e38b9a0b27dfce73c0a">RC_BAD_FORMAT</a></div><div class="ttdeci">@ RC_BAD_FORMAT</div><div class="ttdoc">format check failed</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:144</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a28665f12d1a9220810ec9f87a5cf1620a72631ecb3362f3f7c33cfee4251a2b8a"><div class="ttname"><a href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a72631ecb3362f3f7c33cfee4251a2b8a">RC_INVALID</a></div><div class="ttdeci">@ RC_INVALID</div><div class="ttdoc">command parameters invalid</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:141</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a28665f12d1a9220810ec9f87a5cf1620a781b7f097df41705b8d1f4a5932a08bb"><div class="ttname"><a href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a781b7f097df41705b8d1f4a5932a08bb">RC_BAD_CRC</a></div><div class="ttdeci">@ RC_BAD_CRC</div><div class="ttdoc">crc check failed</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:145</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a28665f12d1a9220810ec9f87a5cf1620a7a62074e4c5d4226fe77d3ca127cce9f"><div class="ttname"><a href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a7a62074e4c5d4226fe77d3ca127cce9f">RC_BAD_SIGNATURE</a></div><div class="ttdeci">@ RC_BAD_SIGNATURE</div><div class="ttdoc">signature verification failed</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:146</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a28665f12d1a9220810ec9f87a5cf1620a827565d735c8517ed5079c5a93b513b5"><div class="ttname"><a href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a827565d735c8517ed5079c5a93b513b5">RC_FAIL</a></div><div class="ttdeci">@ RC_FAIL</div><div class="ttdoc">command execution failed</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:143</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a28665f12d1a9220810ec9f87a5cf1620a869dd46c2d082bad131e39c2052f213f"><div class="ttname"><a href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620a869dd46c2d082bad131e39c2052f213f">RC_BUSY</a></div><div class="ttdeci">@ RC_BUSY</div><div class="ttdoc">command cannot be executed now</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:142</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a28665f12d1a9220810ec9f87a5cf1620ab160a5d4159a90180d6922bf65931f7b"><div class="ttname"><a href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620ab160a5d4159a90180d6922bf65931f7b">RC_NOT_IMPLEMENTED</a></div><div class="ttdeci">@ RC_NOT_IMPLEMENTED</div><div class="ttdoc">command not yet implemented</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:139</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a28665f12d1a9220810ec9f87a5cf1620ab6d30e486bf7faabc78644ed63050e4a"><div class="ttname"><a href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620ab6d30e486bf7faabc78644ed63050e4a">RC_BAD_SIZE</a></div><div class="ttdeci">@ RC_BAD_SIZE</div><div class="ttdoc">size check failed</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:147</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a28665f12d1a9220810ec9f87a5cf1620ab834a5bb2ce6d97c2831fe3d71103c14"><div class="ttname"><a href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620ab834a5bb2ce6d97c2831fe3d71103c14">RC_OK</a></div><div class="ttdeci">@ RC_OK</div><div class="ttdoc">command executed without errors</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:137</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a28665f12d1a9220810ec9f87a5cf1620ae2789f1ef47e6e1a8ec663688463f3bf"><div class="ttname"><a href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620ae2789f1ef47e6e1a8ec663688463f3bf">RC_NO_TIME</a></div><div class="ttdeci">@ RC_NO_TIME</div><div class="ttdoc">no time available, either via network synchronization or set by the host</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:149</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a28665f12d1a9220810ec9f87a5cf1620afac262a9eea4e4288bfce1ac356da883"><div class="ttname"><a href="smtc__modem__api_8h.html#a28665f12d1a9220810ec9f87a5cf1620afac262a9eea4e4288bfce1ac356da883">RC_FRAME_ERROR</a></div><div class="ttdeci">@ RC_FRAME_ERROR</div><div class="ttdoc">serial port framing error</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:148</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a2b00f9d2df223e5f9336d2266160883c"><div class="ttname"><a href="smtc__modem__api_8h.html#a2b00f9d2df223e5f9336d2266160883c">smtc_modem_set_alcsync_mode</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_alcsync_mode(uint8_t mode)</div><div class="ttdoc">Enable / disable the Application Layer Clock Synchronization (ALCSync) service.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a3637bd9db8914d00f066f867e50212da"><div class="ttname"><a href="smtc__modem__api_8h.html#a3637bd9db8914d00f066f867e50212da">smtc_modem_set_connection_timeout_thresholds</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_connection_timeout_thresholds(uint8_t stack_id, uint16_t nb_of_uplinks_before_network_controlled, uint16_t nb_of_uplinks_before_reset)</div><div class="ttdoc">Set the connection timeout thresholds.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a411d9699a80d7559d5dd41a52ff1a777"><div class="ttname"><a href="smtc__modem__api_8h.html#a411d9699a80d7559d5dd41a52ff1a777">smtc_modem_get_status</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_status(uint8_t stack_id, smtc_modem_status_mask_t *status_mask)</div><div class="ttdoc">Get the modem status.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a41781c09d149ed18b7fce11b10df6f9a"><div class="ttname"><a href="smtc__modem__api_8h.html#a41781c09d149ed18b7fce11b10df6f9a">smtc_modem_get_adr_custom_data</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_adr_custom_data(uint8_t stack_id, uint8_t adr_custom_data[SMTC_MODEM_CUSTOM_ADR_DATA_LENGTH])</div><div class="ttdoc">Get the configured custom ADR profile data.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a43db9685011f1893130e62576b938c3d"><div class="ttname"><a href="smtc__modem__api_8h.html#a43db9685011f1893130e62576b938c3d">smtc_modem_set_stream_redundancy_ratio</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_stream_redundancy_ratio(uint8_t stack_id, uint8_t redundancy_ratio_percent)</div><div class="ttdoc">Set the stream redundancy ratio.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a45eb99ffebded3d7ba24fb6a69aa38d2"><div class="ttname"><a href="smtc__modem__api_8h.html#a45eb99ffebded3d7ba24fb6a69aa38d2">smtc_modem_stop_lbt</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_stop_lbt(uint8_t stack_id)</div><div class="ttdoc">Stop LBT feature (Listen Before Talk)</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a4909027c82b7fed6821866093e84f38a"><div class="ttname"><a href="smtc__modem__api_8h.html#a4909027c82b7fed6821866093e84f38a">smtc_modem_get_certification_mode</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_certification_mode(uint8_t stack_id, bool *enable)</div><div class="ttdoc">Get the current state of the certification mode.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a499ee784cdf5f63b1b8588db0123200d"><div class="ttname"><a href="smtc__modem__api_8h.html#a499ee784cdf5f63b1b8588db0123200d">smtc_modem_request_single_dm_uplink</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_request_single_dm_uplink(const uint8_t *dm_fields_payload, uint8_t dm_field_length)</div><div class="ttdoc">Request an immediate DM status.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a4a85a18d018df88ec6ff03d56e3c9622"><div class="ttname"><a href="smtc__modem__api_8h.html#a4a85a18d018df88ec6ff03d56e3c9622">smtc_modem_stream_cipher_mode_e</a></div><div class="ttdeci">smtc_modem_stream_cipher_mode_e</div><div class="ttdoc">Cipher mode for stream service.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:205</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a4a85a18d018df88ec6ff03d56e3c9622af03652db409d109457790d25f95c2497"><div class="ttname"><a href="smtc__modem__api_8h.html#a4a85a18d018df88ec6ff03d56e3c9622af03652db409d109457790d25f95c2497">SMTC_MODEM_STREAM_NO_CIPHER</a></div><div class="ttdeci">@ SMTC_MODEM_STREAM_NO_CIPHER</div><div class="ttdoc">Do not encrypt stream.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:206</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a4a85a18d018df88ec6ff03d56e3c9622af65c7eff3ec453d088ebed14894fc032"><div class="ttname"><a href="smtc__modem__api_8h.html#a4a85a18d018df88ec6ff03d56e3c9622af65c7eff3ec453d088ebed14894fc032">SMTC_MODEM_STREAM_AES_WITH_APPSKEY</a></div><div class="ttdeci">@ SMTC_MODEM_STREAM_AES_WITH_APPSKEY</div><div class="ttdoc">Encrypt stream using AES with appskey.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:207</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a4bbaabd919974271b85baf6285250c9f"><div class="ttname"><a href="smtc__modem__api_8h.html#a4bbaabd919974271b85baf6285250c9f">smtc_modem_stream_cipher_mode_t</a></div><div class="ttdeci">enum smtc_modem_stream_cipher_mode_e smtc_modem_stream_cipher_mode_t</div><div class="ttdoc">Cipher mode for stream service.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a4df00f7e2fcaee5040cd828bf3c03a6c"><div class="ttname"><a href="smtc__modem__api_8h.html#a4df00f7e2fcaee5040cd828bf3c03a6c">SMTC_MODEM_KEY_LENGTH</a></div><div class="ttdeci">#define SMTC_MODEM_KEY_LENGTH</div><div class="ttdoc">Cryptographic key length in byte.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:65</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a501d4b5a0002254e1cd56d3131427d73"><div class="ttname"><a href="smtc__modem__api_8h.html#a501d4b5a0002254e1cd56d3131427d73">smtc_modem_leave_network</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_leave_network(uint8_t stack_id)</div><div class="ttdoc">Leave an already joined network or cancels on ongoing join process.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a5129aa2d59ddaa67cfa99a0516efbf35"><div class="ttname"><a href="smtc__modem__api_8h.html#a5129aa2d59ddaa67cfa99a0516efbf35">smtc_modem_request_emergency_uplink</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_request_emergency_uplink(uint8_t stack_id, uint8_t fport, bool confirmed, const uint8_t *payload, uint8_t payload_length)</div><div class="ttdoc">Request an immediate LoRaWAN uplink.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a56d7e1f5f1178150b28f455076bc79ab"><div class="ttname"><a href="smtc__modem__api_8h.html#a56d7e1f5f1178150b28f455076bc79ab">smtc_modem_set_certification_mode</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_certification_mode(uint8_t stack_id, bool enable)</div><div class="ttdoc">Enable / disable the certification mode.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a5e26803a030e0a1ace484fecd8b107f6"><div class="ttname"><a href="smtc__modem__api_8h.html#a5e26803a030e0a1ace484fecd8b107f6">smtc_modem_get_dm_info_fields</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_dm_info_fields(uint8_t *dm_fields_payload, uint8_t *dm_field_length)</div><div class="ttdoc">Get DM info fields.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a5e3f461177c5cc9c89fef9e9a052c5e9"><div class="ttname"><a href="smtc__modem__api_8h.html#a5e3f461177c5cc9c89fef9e9a052c5e9">smtc_modem_set_class</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_class(uint8_t stack_id, smtc_modem_class_t lorawan_class)</div><div class="ttdoc">Set the LoRaWAN class.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a62ee39bc0e8d159eaa2d87dd4e676d16"><div class="ttname"><a href="smtc__modem__api_8h.html#a62ee39bc0e8d159eaa2d87dd4e676d16">smtc_modem_stream_add_data</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_stream_add_data(uint8_t stack_id, uint8_t fport, const uint8_t *data, uint8_t len)</div><div class="ttdoc">Add data to the stream.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a635b5042ee577962c6c2cf4e0f34c351"><div class="ttname"><a href="smtc__modem__api_8h.html#a635b5042ee577962c6c2cf4e0f34c351">smtc_modem_set_joineui</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_joineui(uint8_t stack_id, const uint8_t joineui[SMTC_MODEM_EUI_LENGTH])</div><div class="ttdoc">Set the JoinEUI.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a64f3a9b7a5579a63379eb4fb8b6864b8"><div class="ttname"><a href="smtc__modem__api_8h.html#a64f3a9b7a5579a63379eb4fb8b6864b8">smtc_modem_suspend_radio_communications</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_suspend_radio_communications(bool suspend)</div><div class="ttdoc">Suspend the radio communications initiated by the modem.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a6559056c141dde5dc8bc7fc7be233533"><div class="ttname"><a href="smtc__modem__api_8h.html#a6559056c141dde5dc8bc7fc7be233533">smtc_modem_get_charge</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_charge(uint32_t *charge_mah)</div><div class="ttdoc">Get the total charge counter of the modem in mAh.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a66dbddaf556a740b490e5db93c6a7494"><div class="ttname"><a href="smtc__modem__api_8h.html#a66dbddaf556a740b490e5db93c6a7494">smtc_modem_file_upload_reset</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_file_upload_reset(uint8_t stack_id)</div><div class="ttdoc">Reset the file upload session.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a6713a6e29cdd3a2abdf94e8b8cc8ef06"><div class="ttname"><a href="smtc__modem__api_8h.html#a6713a6e29cdd3a2abdf94e8b8cc8ef06">SMTC_MODEM_DM_USER_DATA_LENGTH</a></div><div class="ttdeci">#define SMTC_MODEM_DM_USER_DATA_LENGTH</div><div class="ttdoc">Application-defined user data length in byte.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:70</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a6ccd60fd244e31e959362c558a6c714f"><div class="ttname"><a href="smtc__modem__api_8h.html#a6ccd60fd244e31e959362c558a6c714f">smtc_modem_set_dm_user_data</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_dm_user_data(const uint8_t user_data[SMTC_MODEM_DM_USER_DATA_LENGTH])</div><div class="ttdoc">Set user-specific data to be reported by Device Management frames.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a7060629b29cc2a3f22e183e8032d563d"><div class="ttname"><a href="smtc__modem__api_8h.html#a7060629b29cc2a3f22e183e8032d563d">smtc_modem_status_mask_e</a></div><div class="ttdeci">smtc_modem_status_mask_e</div><div class="ttdoc">Modem status.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:167</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a734a1750ff3baba2327970b1e36cf606"><div class="ttname"><a href="smtc__modem__api_8h.html#a734a1750ff3baba2327970b1e36cf606">smtc_modem_get_version</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_version(smtc_modem_version_t *firmware_version, smtc_modem_version_t *lorawan_version)</div><div class="ttdoc">Get the firmware and the LoRaWAN versions.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a7483685ece7e9d353d152921c091b7a9"><div class="ttname"><a href="smtc__modem__api_8h.html#a7483685ece7e9d353d152921c091b7a9">smtc_modem_get_rx_power_offset_db</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_rx_power_offset_db(uint8_t stack_id, int16_t *rx_offset_db)</div><div class="ttdoc">Get the Rx power offset in dB.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a7f5e369b410828fbea0c847bdb8ab7ef"><div class="ttname"><a href="smtc__modem__api_8h.html#a7f5e369b410828fbea0c847bdb8ab7ef">smtc_modem_stream_status</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_stream_status(uint8_t stack_id, uint8_t fport, uint16_t *pending, uint16_t *free)</div><div class="ttdoc">Return the current stream status.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a7fecd2b206437cdc9d105750541a078d"><div class="ttname"><a href="smtc__modem__api_8h.html#a7fecd2b206437cdc9d105750541a078d">smtc_modem_stream_init</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_stream_init(uint8_t stack_id, uint8_t fport, smtc_modem_stream_cipher_mode_t cipher_mode)</div><div class="ttdoc">Create and initialize a data stream.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a868637adcb76838f2191a858942a3922"><div class="ttname"><a href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922">smtc_modem_adr_profile_e</a></div><div class="ttdeci">smtc_modem_adr_profile_e</div><div class="ttdoc">Modem Datarate Profiles.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:156</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a868637adcb76838f2191a858942a3922a2e3e3e7961336c7d9887a0c58ad9645d"><div class="ttname"><a href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922a2e3e3e7961336c7d9887a0c58ad9645d">SMTC_MODEM_ADR_PROFILE_MOBILE_LONG_RANGE</a></div><div class="ttdeci">@ SMTC_MODEM_ADR_PROFILE_MOBILE_LONG_RANGE</div><div class="ttdoc">Long range distribution for mobile devices.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:158</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a868637adcb76838f2191a858942a3922a6dcae76dfc1d5055141021c81a0c006b"><div class="ttname"><a href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922a6dcae76dfc1d5055141021c81a0c006b">SMTC_MODEM_ADR_PROFILE_MOBILE_LOW_POWER</a></div><div class="ttdeci">@ SMTC_MODEM_ADR_PROFILE_MOBILE_LOW_POWER</div><div class="ttdoc">Low power distribution for mobile devices.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:159</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a868637adcb76838f2191a858942a3922aa16fc599d480d3762b2ccf96379d0c3c"><div class="ttname"><a href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922aa16fc599d480d3762b2ccf96379d0c3c">SMTC_MODEM_ADR_PROFILE_CUSTOM</a></div><div class="ttdeci">@ SMTC_MODEM_ADR_PROFILE_CUSTOM</div><div class="ttdoc">User defined distribution.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:160</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a868637adcb76838f2191a858942a3922af58f77886527c799627285efc7b87ea6"><div class="ttname"><a href="smtc__modem__api_8h.html#a868637adcb76838f2191a858942a3922af58f77886527c799627285efc7b87ea6">SMTC_MODEM_ADR_PROFILE_NETWORK_CONTROLLED</a></div><div class="ttdeci">@ SMTC_MODEM_ADR_PROFILE_NETWORK_CONTROLLED</div><div class="ttdoc">Network Server controlled for static devices.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:157</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a88035c360d5f9e46efa090db776d4d38"><div class="ttname"><a href="smtc__modem__api_8h.html#a88035c360d5f9e46efa090db776d4d38">smtc_modem_get_next_tx_max_payload</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_next_tx_max_payload(uint8_t stack_id, uint8_t *tx_max_payload_size)</div><div class="ttdoc">Get the maximum payload size that can be used for the next uplink.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a89c9c4f675c3da81c8751ea663eefde6"><div class="ttname"><a href="smtc__modem__api_8h.html#a89c9c4f675c3da81c8751ea663eefde6">smtc_modem_file_upload_start</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_file_upload_start(uint8_t stack_id)</div><div class="ttdoc">Start the file upload towards the DAS.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a89e6a844fdcb49540504d41d8c803c5c"><div class="ttname"><a href="smtc__modem__api_8h.html#a89e6a844fdcb49540504d41d8c803c5c">smtc_modem_suspend_radio_access</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_suspend_radio_access(void)</div><div class="ttdoc">Prevent the stack from accessing the radio.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a8a9450d1839ca12f62903f4add65b00d"><div class="ttname"><a href="smtc__modem__api_8h.html#a8a9450d1839ca12f62903f4add65b00d">smtc_modem_get_available_datarates</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_available_datarates(uint8_t stack_id, uint16_t *available_datarates_mask)</div><div class="ttdoc">Get the current available Datarate in regards of Uplink ChMash and DwellTime.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a8e939ad0a2583987746c6f52e32cba67"><div class="ttname"><a href="smtc__modem__api_8h.html#a8e939ad0a2583987746c6f52e32cba67">smtc_modem_adr_profile_t</a></div><div class="ttdeci">enum smtc_modem_adr_profile_e smtc_modem_adr_profile_t</div><div class="ttdoc">Modem Datarate Profiles.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a912c0d5c39113b5ac880e460ed178bfb"><div class="ttname"><a href="smtc__modem__api_8h.html#a912c0d5c39113b5ac880e460ed178bfb">smtc_modem_set_network_type</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_network_type(uint8_t stack_id, bool network_type)</div><div class="ttdoc">Configure network type to private or public.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a927f65d89842bb0f37ae9b89ff115ef0"><div class="ttname"><a href="smtc__modem__api_8h.html#a927f65d89842bb0f37ae9b89ff115ef0">smtc_modem_reset_charge</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_reset_charge(void)</div><div class="ttdoc">Reset the total charge counter of the modem.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a94ea53f8b12a2072febba13ac6e78d70"><div class="ttname"><a href="smtc__modem__api_8h.html#a94ea53f8b12a2072febba13ac6e78d70">smtc_modem_get_dm_fport</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_dm_fport(uint8_t *dm_fport)</div><div class="ttdoc">Get the Device Management LoRaWAN FPort.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a952d295e178005c052f035b4099ada4a"><div class="ttname"><a href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a></div><div class="ttdeci">enum smtc_modem_return_code_e smtc_modem_return_code_t</div><div class="ttdoc">Modem Return Codes.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a97ff2f38ad3823d15ffb58fdc7b333fa"><div class="ttname"><a href="smtc__modem__api_8h.html#a97ff2f38ad3823d15ffb58fdc7b333fa">smtc_modem_resume_radio_access</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_resume_radio_access(void)</div><div class="ttdoc">Allow the stack to get access to the radio.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a9c5f04daad69bdc1d2459ca1db13ee52"><div class="ttname"><a href="smtc__modem__api_8h.html#a9c5f04daad69bdc1d2459ca1db13ee52">smtc_modem_status_mask_t</a></div><div class="ttdeci">uint32_t smtc_modem_status_mask_t</div><div class="ttdoc">Modem Status masks.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:181</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_aa19bd57ec5f517d8b190eaf2053a6c55"><div class="ttname"><a href="smtc__modem__api_8h.html#aa19bd57ec5f517d8b190eaf2053a6c55">smtc_modem_start_alarm_timer</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_start_alarm_timer(uint32_t alarm_timer_in_s)</div><div class="ttdoc">Set and start the alarm timer.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_aa74bbc8e8b31da7f77a9a9940f98d331"><div class="ttname"><a href="smtc__modem__api_8h.html#aa74bbc8e8b31da7f77a9a9940f98d331">smtc_modem_dm_info_interval_format_t</a></div><div class="ttdeci">enum smtc_modem_dm_info_interval_format_e smtc_modem_dm_info_interval_format_t</div><div class="ttdoc">DM uplink reporting internal format.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_aa7a4218f00a5f9d1ae32f5d42fe311b3"><div class="ttname"><a href="smtc__modem__api_8h.html#aa7a4218f00a5f9d1ae32f5d42fe311b3">smtc_modem_get_class</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_class(uint8_t stack_id, smtc_modem_class_t *lorawan_class)</div><div class="ttdoc">Get the current LoRaWAN class.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_aac6c96fdd3ba1a05abb87ca494385b34"><div class="ttname"><a href="smtc__modem__api_8h.html#aac6c96fdd3ba1a05abb87ca494385b34">smtc_modem_set_lbt_configuration</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_lbt_configuration(uint8_t stack_id, uint32_t listen_duration_ms, int16_t threshold_dbm, uint32_t bw_hz)</div><div class="ttdoc">Configure the LBT feature (Listen Before Talk)</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_aadbf482aa0249acd4c18dda44c613d80"><div class="ttname"><a href="smtc__modem__api_8h.html#aadbf482aa0249acd4c18dda44c613d80">smtc_modem_get_event</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_event(uint8_t *type, uint8_t *count, uint8_t *stack_id, uint8_t *data, uint16_t *data_length, uint8_t *pending_count)</div><div class="ttdoc">Get the modem event.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_aaf1c41c973502266d8fbd0eecfcb679f"><div class="ttname"><a href="smtc__modem__api_8h.html#aaf1c41c973502266d8fbd0eecfcb679f">smtc_modem_set_rx_power_offset_db</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_rx_power_offset_db(uint8_t stack_id, int16_t rx_offset_db)</div><div class="ttdoc">Set the Rx power offset in dB.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ab18b378ebeede432ad3e10f349278a41"><div class="ttname"><a href="smtc__modem__api_8h.html#ab18b378ebeede432ad3e10f349278a41">smtc_modem_get_alarm_remaining_time</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_alarm_remaining_time(uint32_t *remaining_time_in_s)</div><div class="ttdoc">Get the number of seconds remaining before the alarm triggers an event.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ab4837763ecc339a0a6a836040b6463a8"><div class="ttname"><a href="smtc__modem__api_8h.html#ab4837763ecc339a0a6a836040b6463a8">smtc_modem_set_dm_info_fields</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_dm_info_fields(const uint8_t *dm_fields_payload, uint8_t dm_field_length)</div><div class="ttdoc">Set the DM info fields to be sent on a regular basis.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ab682a2a05b0b667114a96962370b154c"><div class="ttname"><a href="smtc__modem__api_8h.html#ab682a2a05b0b667114a96962370b154c">smtc_modem_class_e</a></div><div class="ttdeci">smtc_modem_class_e</div><div class="ttdoc">Modem class enumeration.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:187</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ab682a2a05b0b667114a96962370b154ca3e9ed89ca54853930d6b605a7afe9ac5"><div class="ttname"><a href="smtc__modem__api_8h.html#ab682a2a05b0b667114a96962370b154ca3e9ed89ca54853930d6b605a7afe9ac5">SMTC_MODEM_CLASS_A</a></div><div class="ttdeci">@ SMTC_MODEM_CLASS_A</div><div class="ttdoc">Modem class A.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:188</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ab682a2a05b0b667114a96962370b154cae291d7ed6fb8a46a5affb23e4d9723a6"><div class="ttname"><a href="smtc__modem__api_8h.html#ab682a2a05b0b667114a96962370b154cae291d7ed6fb8a46a5affb23e4d9723a6">SMTC_MODEM_CLASS_C</a></div><div class="ttdeci">@ SMTC_MODEM_CLASS_C</div><div class="ttdoc">Modem class C.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:189</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ab83c360c17167c774c9c4f24d245b191"><div class="ttname"><a href="smtc__modem__api_8h.html#ab83c360c17167c774c9c4f24d245b191">smtc_modem_get_stream_rr</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_stream_rr(uint8_t stack_id, uint8_t *stream_rr)</div><div class="ttdoc">Get the configured stream redundancy radio (rr)</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_abdc5cb14954646069fa1cfaffbd84b3a"><div class="ttname"><a href="smtc__modem__api_8h.html#abdc5cb14954646069fa1cfaffbd84b3a">smtc_modem_get_duty_cycle_status</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_duty_cycle_status(int32_t *duty_cycle_status_ms)</div><div class="ttdoc">Get the current status of the duty cycle.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_abe170e1b36143016e60c8c5c834628ed"><div class="ttname"><a href="smtc__modem__api_8h.html#abe170e1b36143016e60c8c5c834628ed">smtc_modem_start_lbt</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_start_lbt(uint8_t stack_id)</div><div class="ttdoc">Start LBT feature (Listen Before Talk)</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ac028ab1b3c44f7f1f1771b65d588925d"><div class="ttname"><a href="smtc__modem__api_8h.html#ac028ab1b3c44f7f1f1771b65d588925d">smtc_modem_get_adr_profile</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_adr_profile(uint8_t stack_id, smtc_modem_adr_profile_t *adr_profile)</div><div class="ttdoc">Get the current ADR profile.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ac0f9d794f44c4867f7d80f9949d2d971"><div class="ttname"><a href="smtc__modem__api_8h.html#ac0f9d794f44c4867f7d80f9949d2d971">smtc_modem_get_dm_user_data</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_dm_user_data(uint8_t user_data[SMTC_MODEM_DM_USER_DATA_LENGTH])</div><div class="ttdoc">Get user-specific data to be reported by Device Management frames.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ac35b956e1e6d026a6dbdf16ab7fc2222"><div class="ttname"><a href="smtc__modem__api_8h.html#ac35b956e1e6d026a6dbdf16ab7fc2222">smtc_modem_get_deveui</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_deveui(uint8_t stack_id, uint8_t deveui[SMTC_MODEM_EUI_LENGTH])</div><div class="ttdoc">Get the DevEUI.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ac67ad518b00e5c47aaf7cb32f074b1ce"><div class="ttname"><a href="smtc__modem__api_8h.html#ac67ad518b00e5c47aaf7cb32f074b1ce">smtc_modem_file_upload_init</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_file_upload_init(uint8_t stack_id, uint8_t index, smtc_modem_file_upload_cipher_mode_t cipher_mode, const uint8_t *file, uint16_t file_length, uint32_t average_delay_s)</div><div class="ttdoc">Create and initialize a file upload session.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ac6bb8d02b4515ca4de0260f7c56d551e"><div class="ttname"><a href="smtc__modem__api_8h.html#ac6bb8d02b4515ca4de0260f7c56d551e">smtc_modem_get_time</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_time(uint32_t *gps_time_s)</div><div class="ttdoc">Get GPS epoch time.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ac6f517cb949e3a7b2dc6e52ae3730db2"><div class="ttname"><a href="smtc__modem__api_8h.html#ac6f517cb949e3a7b2dc6e52ae3730db2">smtc_modem_get_alc_sync_fport</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_alc_sync_fport(uint8_t *alc_sync_fport)</div><div class="ttdoc">Get Application Layer Clock Synchronization (ALCSync) service FPort.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ac884f1635d75951015ae2ede72b3575e"><div class="ttname"><a href="smtc__modem__api_8h.html#ac884f1635d75951015ae2ede72b3575e">smtc_modem_get_connection_timeout_thresholds</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_connection_timeout_thresholds(uint8_t stack_id, uint16_t *nb_of_uplinks_before_network_controlled, uint16_t *nb_of_uplinks_before_reset)</div><div class="ttdoc">Get the configured connection timeout thresholds.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_acb864a58ed305558e2e4a92e76d38ca3"><div class="ttname"><a href="smtc__modem__api_8h.html#acb864a58ed305558e2e4a92e76d38ca3">smtc_modem_get_current_connection_timeout</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_current_connection_timeout(uint8_t stack_id, uint16_t *nb_of_uplinks_before_network_controlled, uint16_t *nb_of_uplinks_before_reset)</div><div class="ttdoc">Get the current status of the connection timeouts.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ad2230f2b6007f89d7b3527961278c2b5"><div class="ttname"><a href="smtc__modem__api_8h.html#ad2230f2b6007f89d7b3527961278c2b5">smtc_modem_get_region</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_region(uint8_t stack_id, smtc_modem_region_t *region)</div><div class="ttdoc">Get the current LoRaWAN region.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ad2eeb2277a0542fa9851834f90924711"><div class="ttname"><a href="smtc__modem__api_8h.html#ad2eeb2277a0542fa9851834f90924711">smtc_modem_set_deveui</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_deveui(uint8_t stack_id, const uint8_t deveui[SMTC_MODEM_EUI_LENGTH])</div><div class="ttdoc">Set the DevEUI.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ad489102221c73eeb30980d20f6d48dc8"><div class="ttname"><a href="smtc__modem__api_8h.html#ad489102221c73eeb30980d20f6d48dc8">smtc_modem_get_lbt_configuration</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_lbt_configuration(uint8_t stack_id, uint32_t *listen_duration_ms, int16_t *threshold_dbm, uint32_t *bw_hz)</div><div class="ttdoc">Get the configured LBT (Listen Before Talk)</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ad4c45fe9506a5c78ac277dd0d356b2c6"><div class="ttname"><a href="smtc__modem__api_8h.html#ad4c45fe9506a5c78ac277dd0d356b2c6">smtc_modem_file_upload_cipher_mode_t</a></div><div class="ttdeci">enum smtc_modem_file_upload_cipher_mode_e smtc_modem_file_upload_cipher_mode_t</div><div class="ttdoc">Cipher mode for file upload service.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ad5683363bec8bb86c2993e18909fe50d"><div class="ttname"><a href="smtc__modem__api_8h.html#ad5683363bec8bb86c2993e18909fe50d">SMTC_MODEM_EUI_LENGTH</a></div><div class="ttdeci">#define SMTC_MODEM_EUI_LENGTH</div><div class="ttdoc">EUI (joinEUI, devEUI, etc.) length in byte.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:60</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ad6b69d8f2b1efd81aec3e896bea39637"><div class="ttname"><a href="smtc__modem__api_8h.html#ad6b69d8f2b1efd81aec3e896bea39637">smtc_modem_set_dm_info_interval</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_dm_info_interval(smtc_modem_dm_info_interval_format_t format, uint8_t interval)</div><div class="ttdoc">Set the interval between 2 DM info field messages.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ad7dba162eca443d021c3b247f48c16ee"><div class="ttname"><a href="smtc__modem__api_8h.html#ad7dba162eca443d021c3b247f48c16ee">smtc_modem_reset</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_reset(void)</div><div class="ttdoc">Reset the modem.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ad820d2f52fa064f19b215ad7052ce3e4"><div class="ttname"><a href="smtc__modem__api_8h.html#ad820d2f52fa064f19b215ad7052ce3e4">smtc_modem_clear_alarm_timer</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_clear_alarm_timer(void)</div><div class="ttdoc">Stop and clear alarm timer.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ad9e1603f5b656f766fb6d914cafdbb54"><div class="ttname"><a href="smtc__modem__api_8h.html#ad9e1603f5b656f766fb6d914cafdbb54">SMTC_MODEM_CUSTOM_ADR_DATA_LENGTH</a></div><div class="ttdeci">#define SMTC_MODEM_CUSTOM_ADR_DATA_LENGTH</div><div class="ttdoc">ADR custom configuration length in byte.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:75</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_adeaed75cc1008fe4ebc2f437ced3b674"><div class="ttname"><a href="smtc__modem__api_8h.html#adeaed75cc1008fe4ebc2f437ced3b674">smtc_modem_get_nb_trans</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_nb_trans(uint8_t stack_id, uint8_t *nb_trans)</div><div class="ttdoc">Get the configured number of transmissions (nb_trans) in case of unconfirmed uplink.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ae312e096d0cbf962c57544ffe35cd127"><div class="ttname"><a href="smtc__modem__api_8h.html#ae312e096d0cbf962c57544ffe35cd127">smtc_modem_join_network</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_join_network(uint8_t stack_id)</div><div class="ttdoc">Join the network.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_ae94eff2ff8ab76839fba983df6c35041"><div class="ttname"><a href="smtc__modem__api_8h.html#ae94eff2ff8ab76839fba983df6c35041">smtc_modem_set_alc_sync_fport</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_alc_sync_fport(uint8_t alc_sync_fport)</div><div class="ttdoc">Set Application Layer Clock Synchronization (ALCSync) service FPort.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_aeae0359f49d45873111e0de13caec3d6"><div class="ttname"><a href="smtc__modem__api_8h.html#aeae0359f49d45873111e0de13caec3d6">smtc_modem_get_crystal_error</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_crystal_error(uint32_t *crystal_error_ppm)</div><div class="ttdoc">Get the modem crystal error.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_aeba63e8f8885e25aaef349f5e3a3d243"><div class="ttname"><a href="smtc__modem__api_8h.html#aeba63e8f8885e25aaef349f5e3a3d243">smtc_modem_set_tx_power_offset_db</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_tx_power_offset_db(uint8_t stack_id, int8_t tx_pwr_offset_db)</div><div class="ttdoc">Set the Tx power offset in dB.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_aef01f7d4b56feb08d988ebfef617c649"><div class="ttname"><a href="smtc__modem__api_8h.html#aef01f7d4b56feb08d988ebfef617c649">smtc_modem_get_alcsync_mode</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_alcsync_mode(uint8_t *mode)</div><div class="ttdoc">Get the current state of the Application Layer Clock Synchronization (ALCSync) service.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_af365833c8df22cfc0c09be7da28b7026"><div class="ttname"><a href="smtc__modem__api_8h.html#af365833c8df22cfc0c09be7da28b7026">smtc_modem_class_t</a></div><div class="ttdeci">enum smtc_modem_class_e smtc_modem_class_t</div><div class="ttdoc">Modem class enumeration.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_af3defb0e1dfb1d9026f8330a4ed39557"><div class="ttname"><a href="smtc__modem__api_8h.html#af3defb0e1dfb1d9026f8330a4ed39557">smtc_modem_version_t</a></div><div class="ttdeci">struct smtc_modem_version_s smtc_modem_version_t</div><div class="ttdoc">Version structure definition.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_af6794d6981ceaa480a50986f2e143a6d"><div class="ttname"><a href="smtc__modem__api_8h.html#af6794d6981ceaa480a50986f2e143a6d">smtc_modem_factory_reset</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_factory_reset(void)</div><div class="ttdoc">Reset the modem to its original state.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_af86dcb15a5363575e5eeb3db1f14d6ff"><div class="ttname"><a href="smtc__modem__api_8h.html#af86dcb15a5363575e5eeb3db1f14d6ff">smtc_modem_region_t</a></div><div class="ttdeci">enum smtc_modem_region_e smtc_modem_region_t</div><div class="ttdoc">Modem region ID.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_afdd446b317f4bc7252f5405fc519814d"><div class="ttname"><a href="smtc__modem__api_8h.html#afdd446b317f4bc7252f5405fc519814d">smtc_modem_set_nb_trans</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_set_nb_trans(uint8_t stack_id, uint8_t nb_trans)</div><div class="ttdoc">Set the number of transmissions (nb_trans) in case of unconfirmed uplink.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_afe142674f451f61af35dc98835b4cd2a"><div class="ttname"><a href="smtc__modem__api_8h.html#afe142674f451f61af35dc98835b4cd2a">smtc_modem_get_network_type</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_get_network_type(uint8_t stack_id, bool *network_type)</div><div class="ttdoc">Get the configured network type.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_afe3f0d8569065d33866b8be3e0d96c63"><div class="ttname"><a href="smtc__modem__api_8h.html#afe3f0d8569065d33866b8be3e0d96c63">smtc_modem_file_upload_cipher_mode_e</a></div><div class="ttdeci">smtc_modem_file_upload_cipher_mode_e</div><div class="ttdoc">Cipher mode for file upload service.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:196</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_afe3f0d8569065d33866b8be3e0d96c63a00bafc555806c8d1cd2928468a247e9e"><div class="ttname"><a href="smtc__modem__api_8h.html#afe3f0d8569065d33866b8be3e0d96c63a00bafc555806c8d1cd2928468a247e9e">SMTC_MODEM_FILE_UPLOAD_AES_WITH_APPSKEY</a></div><div class="ttdeci">@ SMTC_MODEM_FILE_UPLOAD_AES_WITH_APPSKEY</div><div class="ttdoc">Encrypt file using AES with appskey.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:198</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_afe3f0d8569065d33866b8be3e0d96c63a85849b62c52857e860b0017a81b76400"><div class="ttname"><a href="smtc__modem__api_8h.html#afe3f0d8569065d33866b8be3e0d96c63a85849b62c52857e860b0017a81b76400">SMTC_MODEM_FILE_UPLOAD_NO_CIPHER</a></div><div class="ttdeci">@ SMTC_MODEM_FILE_UPLOAD_NO_CIPHER</div><div class="ttdoc">Do not encrypt file.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:197</div></div>
<div class="ttc" id="astructsmtc__modem__version__s_html"><div class="ttname"><a href="structsmtc__modem__version__s.html">smtc_modem_version_s</a></div><div class="ttdoc">Version structure definition.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:214</div></div>
<div class="ttc" id="astructsmtc__modem__version__s_html_a48ffba2e4117650d65a9deeb73d9678a"><div class="ttname"><a href="structsmtc__modem__version__s.html#a48ffba2e4117650d65a9deeb73d9678a">smtc_modem_version_s::major</a></div><div class="ttdeci">uint8_t major</div><div class="ttdoc">Major value.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:215</div></div>
<div class="ttc" id="astructsmtc__modem__version__s_html_a85e41929d7235bdb5d2382c57c36a627"><div class="ttname"><a href="structsmtc__modem__version__s.html#a85e41929d7235bdb5d2382c57c36a627">smtc_modem_version_s::minor</a></div><div class="ttdeci">uint8_t minor</div><div class="ttdoc">Minor value.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:216</div></div>
<div class="ttc" id="astructsmtc__modem__version__s_html_abc6b20a010ef7234c5e327070beb5ef0"><div class="ttname"><a href="structsmtc__modem__version__s.html#abc6b20a010ef7234c5e327070beb5ef0">smtc_modem_version_s::patch</a></div><div class="ttdeci">uint8_t patch</div><div class="ttdoc">Patch value.</div><div class="ttdef"><b>Definition:</b> smtc_modem_api.h:217</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
